home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 1
/
Gold Medal Software Volume 1 (Gold Medal) (1994).iso
/
virus
/
vds30c.arj
/
AV-INST.BAT
next >
Wrap
DOS Batch File
|
1993-12-02
|
2KB
|
61 lines
@ECHO OFF
rem AV-INST.BAT
rem This is a sample batch file that can be used to install VDS 3.0
rem on local workstations as they log into the network server.
rem It also loads the VDSTSR if it is not active.
rem The system administrator should place VDS 3.0 files in a common
rem directory on the file server. This batch file should also be placed
rem in the same directory. All files should be flagged as Shareable.
rem Users should be able to search and read files in this directory. In
rem the system login script (or equivalent), a drive letter should be
rem mapped to this directory. We use J: here.
rem After that, the batch file should be invoked. Please consult your
rem network administrator's guide for detailed instructions.
rem For example, Netware system login script would contain:
rem MAP J:=MYSERVER/SYS:APPS\VDS30
rem #command /c J:AV-INST.BAT
rem **********************************************************************
rem System administrator mapped VDS 3.0 directory to J: drive
J:
rem If VDS Pro was already installed, then do nothing
IF EXIST C:\VDS30\VDS.EXE GOTO DONE
echo A new anti-virus package will be installed on your workstation.
echo This will take only a few minutes. Please be patient.
PAUSE
J:INSTALL.EXE -N J:\VDS30 C:\VDS30
CLS
:DONE
rem Check and see if VDSTSR is loaded on the workstation
rem Available only in the registered version
rem J:ISVDSTSR.COM
rem IF ERRORLEVEL = 1 GOTO FINISH
echo You have not loaded VDSTSR anti-virus on your workstation.
echo To protect the LAN, we do not allow access until VDSTSR is loaded.
echo Please contact the system manager if you need help.
rem Since it was not loaded, we will load the VDSTSR now
rem LH J:VDSTSR.EXE
:FINISH
rem Change back to the original drive (H: in our case)
H: